package com.atguigu.gulimall.product.feignService;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@Component
@FeignClient("guli-order")
public interface OrderFeign {

    @GetMapping("order/omsorder/info/{id}")
    public R info(@PathVariable("id") Long id);

}
